<html>
<head>
<title>Upload Form</title>
</head>
<body>

<?php echo $error;?>

<?php echo form_open_multipart('upload/do_upload');?>

<input type="file" name="userfile" size="20" />

<br /><br />

<input type="submit" value="upload" />

</form>
<? echo form_open('products/input'); ?>
	<? echo $title; ?>:
	<? echo form_input('title'); ?>
	</br>
	<? echo $author; ?>:
	<? echo form_input('author'); ?>
	</br>
	<? echo $publisher; ?>:
	<? echo form_input('publisher'); ?>
	</br>
	<? echo $year; ?>:
	<? echo form_dropdown('year',$years); ?>
	</br>
	<? echo $available; ?>:
	<? echo form_checkbox('available','yes',TRUE); ?>
	</br>
	<? echo $summary; ?>:
	<? echo form_textarea('summary'); ?>
	</br>
	<? echo form_submit('mysubmit','Submit!');  ?>
	<? echo form_close(); ?>
</body>
</html>